package com.nancy.java_design.command.demo1;

import java.util.HashMap;

public class Order {

    // 餐桌编号
    private Integer diningTableId;

    //具体的点餐内容
    private HashMap<String, Integer> dishes = new HashMap<>();


    public Integer getDiningTableId() {
        return diningTableId;
    }

    public void setDiningTableId(Integer diningTableId) {
        this.diningTableId = diningTableId;
    }

    public HashMap<String, Integer> getDishes() {
        return dishes;
    }

    public void setDishes(String dishesName, Integer dishesValue) {
        this.dishes.put(dishesName, dishesValue);
    }

}
